package com.csvw.skr.newTask.entity.meeting;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2016/12/7.
 */
@Entity
@Table(name = "csvw_skr_task_meeting_plan_dealer")
public class PlanDealer {

    /**
     * 例会计划ID - 例会经销商ID
     */
    @Id
    @Column(name = "pk_id", length = 100)
    private String id;

    /**
     * 例会计划ID
     */
    @Column(length = 50)
    private String meetingId;

    /**
     * 例会经销商ID
     */
    @Column(length = 20)
    private String dealerId;

    /**
     * 例会经销商是否参与会议
     */
    @Column(nullable=false, columnDefinition="bit default 0")
    private boolean attended = false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDealerId() {
        return dealerId;
    }

    public void setDealerId(String dealerId) {
        this.dealerId = dealerId;
    }

    public String getMeetingId() {
        return meetingId;
    }

    public void setMeetingId(String meetingId) {
        this.meetingId = meetingId;
    }

    public boolean isAttended() {
        return attended;
    }

    public void setAttended(boolean attended) {
        this.attended = attended;
    }
}
